<template>
  <div class="taoda">
    <iframe id="iframe" src="http://www.hzsangxing.com:8808/jc/image/common/reports/index.html" height="830" width="1200" />
  </div>
</template>

<script>
import iframe from '@/mixin/iframe'

export default {
  mixins: [iframe],
  data() {
    return {
      url: '/reporting/queryJXSqlReporting?flanguage=' + this.flanguage + '&sql=JC_CR_SAL_XXDD_CP&fbillno=' + this.$route.params.id
      // file: 'xsdd' // 调用的文件名(连续通用套打) 生产订单
    }
  },
  computed: {
    file() {
      const flanguage = localStorage.getItem('lang') || 'zh'
      return flanguage === 'fra' ? 'fr/z_xsdd' : flanguage === 'en' ? 'en/e_xsdd' : 'xsdd'
    }
  }
}
</script>

<style scoped lang="scss">
.taoda {
  padding: 5px;
  background: #fff;
}
</style>
